$(function() {
	$('#outer_container').tabbed({
		unifyHeight: true,
		tabchange: function(a, b, c) {
			console.log(a);
			console.log(b);
			alert('changed');
		}
	});

	var $add_more = $('#add_more');
	var $add = $('<a href="javascript:;" />');
	$add
		.bind('click', function() {
			var $p = $('<p />');
			$p.html('More Content');
			$add_more.after($p);
			$('#outer_container').tabbed('unify_content_height');
			return false;
		})
		.text($add_more.text());

	$add_more.empty().append($add);
});